package cn.animal; 

public class DepartmentInfo { 

public DepartmentInfo(){} 

public DepartmentInfo(String departmentName,String departmentLoc){ 

this.departmentName = departmentName; 

this.departmentLoc = departmentLoc; 

} 

private String departmentName; 

private String departmentLoc; 

public String getDepartmentName() { 

return departmentName; 

} 

public void setDepartmentName(String departmentName) { 

this.departmentName = departmentName; 

} 

public String getDepartmentLoc() { 

return departmentLoc; 

} 

public void setDepartmentLoc(String departmentLoc) { 

this.departmentLoc = departmentLoc; 

} 

}